package com.wcsy.myblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wcsy.myblog.entity.Label;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ILabelService extends IService<Label> {
    List<Label> listLabel(int userId);
    boolean insertLable(Label label) throws Exception;
//    List<Label> selectOneList(int id);
//    void insertKidLable(String labelName,String labelKidName);
    boolean updateLabel(String labelName,int labelId);
}
